package com.why.rpc.core.server.annotation;


import com.why.rpc.core.server.beanregistrar.WhyRpcScanRegistrar;
import com.why.simpleboot.core.annotation.aop.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


/**
 * @program: whyrpcframework
 * @description:
 * @author: @why
 * @create: 2021-03-14 10:32
 **/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import(clazz = {WhyRpcScanRegistrar.class})
public @interface RpcScan {

     /**
      * 程序应该去扫描的位置，可填，不填默认扫描所有
      * @return
      */
     String servicesPackageBase() default "";

}